package ru.lenwp.example;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.GenericXmlApplicationContext;

/**
 * Created by Lenar on 01.12.2014.
 */
public class Main {
    public static void main(String[] args) {
        GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
        ctx.load("applications_context.xml");
        ctx.refresh();
        HelloWhithDate hw = ctx.getBean(HelloWhithDate.class);
        hw.showData();
    }
}
